import request from '@/libs/request'

export function order_list(data) {
  return request.get(`agent/order`,data)
}
export function order_export(data) {
  return request.get(`agent/export`,data)
}
export function agent_goods(data) {
  return request.get(`agent/goods`,data)
}
export function agent_qrcode(data) {
  return request.post(`agent/qrcode`,data)
}
export function agent_intive(data) {
  return request.post(`agent/invite`,data)
}
export function agent_aglist(data) {
  return request.get(`agent/aglist`,data)
}
export function agent_agadd(data) {
  return request.post(`agent/agadd`,data)
}
export function agent_agedit(data) {
  return request.post(`agent/agedit`,data)
}
export function agent_resetFee(data) {
  return request.post(`agent/resetFee`,data)
}
export function agent_resetDiffFee(data) {
  return request.post(`agent/resetDiffFee`,data)
}
export function agent_xiaList(data) {
  return request.get(`agent/xiaList`,data)
}
export function agent_xiaEdit(data) {
  return request.post(`agent/xiaEdit`,data)
}
//下级订单
export function orderx_list(data) {
  return request.get(`agent/orderx`,data)
}
export function order_exportx(data) {
  return request.get(`agent/exportx`,data)
}
//优酷订单
export function youku_list(data) {
  return request.get(`youku/order`,data)
}
export function youku_export(data) {
  return request.get(`youku/export`,data)
}

export function common_upload(data) {
  return request.post(`Common/upload`,data)
}
export function order_importOrder(data) {
  return request.post(`channel.order/importOrder`,data)
}
// 差价佣金
export function fee_diff(data) {
  return request.post(`agent/setFeeDiff`,data)
}

